package com.af.security.auth.user.detail;

import java.io.Serializable;

/**
 * @author : zhenyun.su
 * @since : 2019/1/24
 * @Comment: 身份认证成功后，用户授权的菜单
	 name 角色名称， 管理员角色
	 descr 角色描述，  administrator role
	 role 角色标识，ROLE_ADMIN
 */

public class AuthRole implements Serializable{
	private static final long serialVersionUID = 7739797853819016564L;

	private String name;
	private String descr;
	private String role;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescr() {
		return descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	@Override
	public String toString() {
		return "Role{" +
				", name='" + name + '\'' +
				", descr='" + descr + '\'' +
				", role='" + role + '\'' +
				'}';
	}
}
